const pageId = window.location.href.split("?")[1].split("=")[1]
$.get("/details", {
    id: pageId
}, (success) => {
    if (success) {
        $("article>.markdown_views").html(success)
    } else {
        $("body").html("<h1>404</h1>")
    }
})